package com.rm.zeyou.mapper;

import com.rm.zeyou.entity.TechnicianShield;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 技师屏蔽用户表 Mapper 接口
 * </p>
 *
 * @author YanYang
 * @since 2025-03-12 15:55:09
 */
@Mapper
public interface TechnicianShieldMapper extends BaseMapper<TechnicianShield> {

    List<Long> selectListTids(@Param("userId") Long userId);

    @Delete("delete from t_technician_shield where id = #{id}")
    Integer deleteOne(@Param("id") Long id);
}
